package com.zme.util;

import java.util.List;
import java.util.Map;

/**
 * 数据响应类
 */
public class ResponseResult {
    /**
     * 数据响应状态
     */
    private String dataState;
    /**
     * 数据响应List
     */
    private List<?> responseList;
    /**
     * 数据响应Map
     */
    private Map<String,Object> responseMap;
    /**
     * 数据响应信息
     */
    private String msg;

    public ResponseResult() {
    }

    public ResponseResult(String dataState, List<?> responseList, Map<String, Object> responseMap, String msg) {
        this.dataState = dataState;
        this.responseList = responseList;
        this.responseMap = responseMap;
        this.msg = msg;
    }

    public void setDataState(String dataState) {
        this.dataState = dataState;
    }

    public List<?> getResponseList() {
        return responseList;
    }

    public Map<String, Object> getResponseMap() {
        return responseMap;
    }

    public String getMsg() {
        return msg;
    }

    public String getDataState() {
        return dataState;
    }

    public void setResponseList(List<?> responseList) {
        this.responseList = responseList;
    }

    public void setResponseMap(Map<String, Object> responseMap) {
        this.responseMap = responseMap;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
